package com.zretc.service;

import com.zretc.entity.ReplyComment;

import java.util.List;

public interface ReplyCommentService {
    /**
     * 根据一级评论编号查询子评论和子评论对应的用户
     * @param commendsId 评论编号
     * @return
     */
    List<ReplyComment> getSubComentsByRootCommentId(String commendsId);

    /**
     * 回复根评论
     * @param replyComment
     * @return
     */
    Integer replyRootComment (ReplyComment replyComment);
}
